*{
  margin: 0;
  padding:0;
}
[v-clock]{
  display: none;
}
html,body{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    height: 100vh;
    background-size: 100% 100%;
    overflow: hidden;
    margin: 0 auto;
    max-width: 750px;
    -webkit-user-select: none;
    -webkit-overflow-scrolling : touch;
}

/* 横屏提示 */
.oriention {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: #32363c;
}
.oriention_con {
  width: 8.73rem;
  height: 3.88rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  font-size: 0;
}
.oriention_logo {
  display: inline-block;
  width: 4.27rem;
  height: 2.89rem;
  background: url(http://dev.dp.sina.cn/jinglei/aoshuang/summary/index/img/oriention.png) no-repeat 50%;
  background-size: 100% auto;
}
.oriention_tip {
  color: #fff;
  font-size: .46rem;
  text-align: center;
  margin-top: .59rem;
}
.hide{
  display: none !important;
}
.testBox{
width: 100vw;
height: 100vh;
overflow: hidden
}

.homeRank{
  margin: 0 auto;
  width: 1.6rem;
  height: 0.32rem;
  background: url(../img/seeRank.png);
  background-size: 100% 100%;
}

/* 下一关start */
.nextlevel{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 4;
  background: rgba(0,0,0,.8);
}

.nextlevel .entryView .innerbox .body h1{
  position: absolute;
  width: 100%;
  bottom: 0.88rem;
  font-family: PingFangSC-Semibold;
  text-align: center;
  font-size: 0.45rem;
  color: #698EA5;
}
/* 下一关end */

/* 开始界面 start*/
.entryBox{
  position: absolute;
  width: 7.5rem;
  height: 100%;
  left: 50%;
  transform: translate(-50%);
  z-index: 4;
  background: rgba(0,0,0,.8);
}
.entryView{
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}
.entryView .innerbox{
  position: relative;
}
.entryView .innerbox .babies{
  margin: 0 auto;
  width: 5.23rem;
  height: 3.29rem;
  background: url(../img/babies.png);
  background-size: 100% 100%;
}
.entryView .innerbox .body{
  margin: -25px auto 0;
  width: 6.06rem;
  height: 3.44rem;
  background: url(../img/entryBody.png);
  background-size: 100% 100%;
  overflow: hidden;
}
.entryView .innerbox .body .startBtn{
  width: 3.02rem;
  height: 1.24rem;
  margin: 1.2rem auto 0.25rem;
  background: url(../img/entryStartBtn.png);
  background-size: 100% 100%;
}

.entryView .innerbox .colorBar{
  position: absolute;
  width: 7.04rem;
  height: 1.97rem;
  top: 1.93rem;
  transform: translate(-50%);
  left: 50%;
  background: url(../img/colorBar.png);
  background-size: 100% 100%;
}
/* 开始界面end */


.fg{
  position: absolute;
  z-index: 3;
  width: 7.5rem;
  height: 100%;
  max-width: 750px;
  background:url(../img/fg.png) no-repeat;
  background-size: 100% 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  overflow: hidden;
}
.bg{
  position: absolute;
  width:7.5rem;
  height:100%;
  max-width: 750px;
  overflow: hidden;
  z-index: 0;
  background: url(../img/bg.png);
  background-size: 100% 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
/* 音乐转动 */
 @-webkit-keyframes musicAni
 {
   0% {-webkit-transform: rotate(0deg);transform: rotate(0deg)}
   100%{-webkit-transform: rotate(-360deg);transform: rotate(-360deg)}
 }
 @keyframes musicAni
 {
   0% {-webkit-transform: rotate(0deg);transform: rotate(0deg)}
   100%{-webkit-transform: rotate(-360deg);transform: rotate(-360deg)}
 }
/* 文字左右动 */
@-webkit-keyframes textAni
{
0% {-webkit-transform:translate(0);transform:translate(0)}
50%{-webkit-transform: translate(-100%);transform: translate(-100%)}
50.1%{-webkit-transform: translate(100% ,150%);transform: translate(100% ,150%)}
50.2%{-webkit-transform: translate(-100% ,150%);transform: translate(-100% ,150%)}
50.3%{-webkit-transform: translate(100%);transform: translate(100%)}
100%{-webkit-transform: translate(0);transform: translate(0)}
}
@keyframes textAni
{
0% {-webkit-transform:translate(0);transform:translate(0)}
50%{-webkit-transform: translate(-100%);transform: translate(-100%)}
50.1%{-webkit-transform: translate(100% ,150%);transform: translate(100% ,150%)}
50.2%{-webkit-transform: translate(-100% ,150%);transform: translate(-100% ,150%)}
50.3%{-webkit-transform: translate(100%);transform: translate(100%)}
100%{-webkit-transform: translate(0);transform: translate(0)}
}
#musicBtn{
  position: absolute;
  width: 0.72rem;
  height: 0.72rem;
  right: .1rem;
  top: .1rem;
  background: url(../img/music.png);
  background-size: 100%;
}
/* 时间和文字提示框 */
.remindBox{
  position: absolute;
  height: .8rem;
  width: 100%;
  top: 18vh;
}
.remindBox .timeChange{
  position: absolute;
  left: .8rem;
  width: .8rem;
  height: .8rem;
  font-size: 0.88rem;
  color: yellow;
  text-align: center;
  line-height: .8rem;
  font-weight: bolder;
  transform: scale(0);
  transition: all 0.5s;
}
.remindBox .addTime{
  color: yellow;
  transform: scale(1);
}
.remindBox .desTime{
  color: blue;
  transform: scale(1);
}
.remind{
  position: absolute;
  top: .05rem;
  width: 5.7rem;
  height: 0.7rem;
  border-radius: .35rem;
  background: url(../img/remind.png);
  overflow: hidden;
  background-size: 100% 100%;
  right: .5rem;
}
#textInfo{
  position: absolute;
  width: 100%;
  height: 100%;
  top:-0.7rem;
  /* color: #fff;
  font-size:.3rem;
  text-align:center;
  line-height: .7rem; */
  transition: top 0.5s ease-in-out;
  /* -webkit-animation: textAni 10s infinite linear;
          animation: textAni 10s infinite linear; */
}

/* .toNormal{
  top: 0;
}
.toN
.toMiss{
 top:-0.7rem;
}

.toCatched{
  top: -1.4rem;
} */
.textBox{
  width: 5.3rem;
  height: 2.1rem;
  margin: 0 auto;
  overflow: hidden;
}
.remind .normal{
  width: 5.3rem;
  height: 0.7rem;
  background: url(../img/normal.png) no-repeat;
  background-size: 100% 100%;
}
.remind .miss{
  width: 5.3rem;
  height: 0.7rem;
  background: url(../img/miss.png) no-repeat;
  background-size: 100% 100%;
}
.remind .catched{
  width: 5.3rem;
  height: 0.7rem;
  background: url(../img/catched.png) no-repeat;
  background-size: 100% 100%;
}

.time{
  position: absolute;
  top: 0;
  left: .3rem;
  width: .8rem;
  height: .8rem;
  font-size: .33rem;
  color: #fff;
  text-align: center;
  line-height: .8rem;
  font-weight: bolder;
  background: url(../img/time.png);
  background-size: 100% 100%;
}
.musicRotate{
  -webkit-animation:musicAni 2s infinite linear;
          animation:musicAni 2s infinite linear;
}
.innerBox{
  width: 6.6rem;
  height:44vh;
  border-radius: 10px;
  border-radius: 5px;
  background-size: 100% 100%;
  position: absolute;
  z-index: 3;
  left: 50%;
  top:27vh;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.title{
  margin: 3vh auto 0;
  width: 6.85rem;
  height: 15vh;
  background: url(../img/title.png);
  background-size: 100% 100%;
}
.box{
  position: absolute;
  z-index: 2;
  top: 25.5%;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width:7rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 71%;
  border: 1px solid red;
}
.basketBox{
  position: absolute;
  /* background: black; */
  width: 1.7rem;
  height: 21vh;
  bottom: 2.4vh; 
  left: .33rem;
  z-index: 1;
  border-radius: 10px;
}
.basketBox .score{
  margin:0 auto;
  width: 1.02rem;
  height: .88rem;
  text-align: center;
  font-size: .45rem;
  line-height: .75rem;
  font-weight: bold;
  color: #fff;
  background: url(../img/score.png) no-repeat;
  background-size: 100% 100%;
}
.basketBox .cap{
  position: absolute;
  width: 1.56rem;
  height: 7.6vh;
  background: url(../img/cap.png) no-repeat;
  background-size: 100% 100%;
  bottom:0.2rem;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%)
  
}
.start1{
  position: absolute;
  right: 0;
  bottom: 0;
  float: right;
  width: 4.5rem;
  height:26.5vh;
  background:url(../img/btn1.png);
  background-size: 100% 100%;
}

.start2{
  position: absolute;
  right: 0;
  bottom: 0;
  float: right;
  width: 4.5rem;
  height:26.5vh;
  background:url(../img/btn2.png);
  background-size: 100% 100%;
}

.dialog{
position: absolute;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 7.5rem;
height: 100%;
left: 50%;
-webkit-transform: translate(-50%);
        transform: translate(-50%);
z-index: 4;
background: rgba(0,0,0,.8);
overflow: hidden;
z-index: -1;
}
.appear{
z-index: 5;
-webkit-animation: appear 1.5s both;
        animation: appear 1.5s both;
}
.disappear{
z-index: -1;
-webkit-animation: disappear 1.5s both;
        animation: disappear 1.5s both;
}
@-webkit-keyframes appear{
from{opacity: 0}
to{opacity: 1}
}
@keyframes appear{
from{opacity: 0}
to{opacity: 1}
}

@-webkit-keyframes disappear{
from{opacity: 1}
to{opacity: 0}
}

@keyframes disappear{
from{opacity: 1}
to{opacity: 0}
}

@-webkit-keyframes flowerAni{
  from{opacity:0;transform: translateY(-20%);}
  to{opacity: 1;transform: translateY(0%);}
  }
  
  @keyframes flowerAni{
    from{opacity:0;transform: translateY(-20%);}
    to{opacity: 1;transform: translateY(0%);}
  }

.dialog .flower{
 z-index: 5;
}
.dialog .flower1{
position: absolute;
left: 0.342rem;
top: 0.194rem;
width: 7.37rem;
height: 2.60rem;
background: url(../img/flower1.png);
background-size: 100% 100%;
animation: flowerAni 1s both .4s ease-out;
}

.dialog .flower2{
position: absolute;
left: 0.25rem;
top: 0.38rem;
width: 7.14rem;
height: 2.23rem;
background: url(../img/flower2.png);
background-size: 100% 100%;
animation: flowerAni 1s both 1s ease-in;
}
.dialog .flower3{
position: absolute;
left: -0.128rem;
top: 1.19rem;
width: 7.19rem;
height: 2.92rem;
background: url(../img/flower3.png);
background-size: 100% 100%;
animation: flowerAni 1s both 1.6s ease-out;

}

.dialog .container{
width: 100vw;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
}
.dialog .container .floatBox{
position: relative;
}

.floatBox .babies{
margin: 0 auto;
width: 4.93rem;
height: 2.94rem;
background: url(../img/babies.png);
background-size: 100% 100%;
}
.floatBox .body{
  position: relative;
  margin: -0.5rem auto 0;
  width: 5.8rem;
  height: 6.74rem;
  background: url(../img/dialogbody.png);
  background-size: 100% 100%;
  overflow: hidden;
}
.floatBox .body .info{
text-align: center;
margin: 1.55rem auto 0;
font-family: PingFangHK-Medium;
font-size: .4rem;
color: #698EA5;
}
.floatBox .body .count{
text-align: center;
font-family: PingFangHK-Semibold;
font-size: .4rem;
color: #FF1B14;
}
.floatBox .body .count span{
font-family: PingFangHK-Semibold;
line-height: 1.96rem;
font-size: 1.4rem;
color: #FF1B14;
font-weight: bold;
}
.floatBox .body .restart{
  position: absolute;
  width: 2.74rem;
  height: 1.14rem;
  left: .2rem;
  bottom: .47rem;
  background: url(../img/restartBtn.png);
  background-size: 100% 100%;
}
.floatBox .body .btn:active{
 opacity: 0.8;
}
.floatBox .body .share{
position: absolute;
width: 2.74rem;
height: 1.14rem;
right: .2rem;
bottom: .47rem;
background: url(../img/shareBtn.png);
background-size: 100% 100%;

}
.floatBox .body .seeRank{
  margin: 0 auto;
  width: 1.6rem;
  height: 0.32rem;
  background: url(../img/seeRank.png);
  background-size: 100% 100%;
}

.floatBox .gongxi{
position: absolute;
left: 50%;
-webkit-transform: translate(-50%);
        transform: translate(-50%);
top: 2rem;
width: 7.06rem;
height: 1.56rem;
background: url(../img/gongxi.png);
background-size: 100% 100%;
z-index:20;
}

.floatBox .gongxi .closeBtn{
    position: absolute;
    width: 0.33rem;
    height: 0.32rem;
    left: 5.653rem;
    top: 0.502rem;
    background: url(../img/closeBtn.png);
    background-size: 100% 100%;
}

/* 排行榜 */
.rankBox{
  position: absolute;
  width: 7.5rem;
  height: 100%;
  overflow: hidden;
  left: 50%;
  transform: translate(-50%);
  z-index: 100;
  background: url(../img/rankBg.png);
  background-size: 100% 100%;
  animation: appear 1s both;
}

.rankBox .backBtn{
  position: absolute;
  left: 0.59rem;
  top: 0.48rem;
  width: .23rem;
  height: 0.4rem;
  background: url(../img/backBtn.png);
  background-size: 100% 100%;
}
.rankTitle{
  margin-top: 0.3rem ;
  text-align: center;
  font-family: PingFangHK-Regular;
  font-size: .45rem;
  color: #FFFFFF;
  text-shadow: 0 2px 7px rgba(0,0,0,0.30);
}

.headImg{
  display: block;
  width: .95rem;
  height: .95rem;
  margin: .05rem auto;
  border-radius: 50%;
  background-size: 100% 100%;
  border: 15px solid rgba(255,255,255,0.25);
border: 4px solid #FFFFFF;
}
.playerName{
  text-align: center;
  opacity: 0.6;
  font-family: PingFangHK-Regular;
  font-size: 0.22rem;
  color: #FFFFFF;
  text-shadow: 0 2px 7px rgba(0,0,0,0.30);
}

.playerInfosBox{
  display: flex;
  margin: 0 auto;
  width: 5.79rem;
  height: 1.2rem;
  background: url(../img/infosBox.png);
  background-size: 100% 100%;
}

.playerInfosBox .left{
  width: 50%;
  height: 100%;
}

.playerInfosBox .right{
  overflow: hidden;
  width: 50%;
  height: 100%;
}

.playerInfosBox .item{
  margin: .1rem auto 0;
  text-align: center;
font-family: PingFangHK-Semibold;
font-size: 0.18rem;
color: rgba(255,255,255,0.5);
}

.playerInfosBox .count{
  margin: 0 auto;
  text-align: center;
  font-family: PingFangHK-Semibold;
  font-size: .40rem;
  color: #FFFFFF;
}
.playerInfosBox .count span{
  font-weight: bold;
}
.scrollBox{
  margin: .05rem auto;
  width: 7.20rem;
  height: 8rem;
  background-image: linear-gradient(-180deg, #FAFAF9 0%, #F2F2F1 100%);
  border-radius: 10px;
 background: url(../img/scrollBox.png) no-repeat;
 background-size: 100% 100%;
 overflow: hidden;
}
.scrollBox .scrollInner{
  margin-top: 0.1rem;
  width: 7.20rem;
  height: 7.8rem;
  overflow-y: scroll;
}
.scrollBox .item{
  position: relative;
  width: 100%;
  overflow: hidden;
}
.scrollBox .item  .bottomLine{
  position: absolute;
  width: 5.92rem;
  right: 0;
  bottom: 0;
  height: .02rem;
  background: url(../img/bottomLine.png);
  background-size: 100% 100%;
}

.scrollBox .item .topMain{
  margin: .1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 1.2rem;
}

.scrollBox .item .topMain .rank{
  width: .63rem;
  height: .79rem;
  line-height: .79rem;
  text-align: center;
  font-family: PingFangHK-Regular;
  font-size: .35rem;
  color: #999999;
}
.scrollBox .item .topMain .first{
  width: .63rem;
  height: .79rem;
  background: url(../img/first.png);
  background-size: 100% 100%;
}

.scrollBox .item .topMain .second{
  width: .63rem;
  height: .79rem;
  background: url(../img/second.png);
  background-size: 100% 100%;
}

.scrollBox .item .topMain .third{
  width: .63rem;
  height: .79rem;
  background: url(../img/third.png);
  background-size: 100% 100%;
}

.scrollBox .item .topMain .playersImg{
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
}
.scrollBox .item .topMain .playersName{
  width: 2.94rem;
  height: 0.42rem;
  font-family: PingFangHK-Regular;
  font-size: .3rem;
  color: #333333;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.scrollBox .item .topMain .score{
  width: 1rem;
  font-family: PingFangHK-Semibold;
  font-size: .45rem;
}
.red{
  color: #FF1B14;
}
.scrollBox .item .topMain .score{
  text-align: right;
  font-family: PingFangHK-Regular;
  font-size: .25rem;
}
.scrollBox .item .topMain .score span{
  font-weight: bold;
  font-size: .45rem;
}

.shareBox{
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.8);
  z-index: 6;
}
.shareInner {
  margin: 0.28rem auto;
    width: 6.44rem;
    height: 3.52rem;
    background: url(../img/shareImg.png);
    background-size: 100% 100%;

}
